package com.kun.hosp.feign;

import com.kun.commonutil.result.Result;
import com.kun.model.entity.cmn.Dict;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @Author zhoukun
 * @Date 2021/5/3 14:43
 * 数据字典远程服务
 */
@FeignClient("service-cmd")
public interface CmdFeignService {
    /**
     * 获取数据字典名称
     * @param value
     * @return
     */
    @GetMapping(value = "admin/cmd/dict/getName/{value}")
    String getName(@PathVariable("value") String value);

}
